<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="c-username" class="control-label col-xs-14 col-sm-4">{:__('UserName')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-username" data-rule="require" class="form-control" name="row[username]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-mobile" class="control-label col-xs-14 col-sm-4">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-mobile" data-rule="mobile,require" class="form-control" name="row[mobile]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-nickname" class="control-label col-xs-14 col-sm-4">{:__('NickName')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-nickname" data-rule="" class="form-control" name="row[nickname]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-password" class="control-label col-xs-14 col-sm-4">{:__('Password')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-password" data-rule="require,password" class="form-control" name="row[password]" type="password" value="" placeholder="用户密码"  />
        </div>
    </div>
    <div class="form-group">
        <label for="c-repassword" class="control-label col-xs-14 col-sm-4">{:__('RePassword')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-repassword" data-rule="require,match(row[password])" class="form-control" name="row[repassword]" type="password" value="" placeholder="确认密码">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-14 col-sm-4"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
